<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/socket/SocketDef.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9ad1227260954e346101f3844f0abb3d.html">socket</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#enum-members">枚举</a>  </div>
  <div class="headertitle">
<div class="title">SocketDef.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="tools_8h_source.html">../tools/tools.h</a>&quot;</code><br />
</div>
<p><a href="_socket_def_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:namespace_s_o_c_k_p_r_o_t_o_c_o_l"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html">SOCKPROTOCOL</a></td></tr>
<tr class="memdesc:namespace_s_o_c_k_p_r_o_t_o_c_o_l"><td class="mdescLeft">&#160;</td><td class="mdescRight">套接字协议枚举值 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespace_s_o_c_k_t_y_p_e"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_t_y_p_e.html">SOCKTYPE</a></td></tr>
<tr class="memdesc:namespace_s_o_c_k_t_y_p_e"><td class="mdescLeft">&#160;</td><td class="mdescRight">已连接的套接字类型枚举值 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespace_s_o_c_k_f_a_m_i_l_y"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html">SOCKFAMILY</a></td></tr>
<tr class="memdesc:namespace_s_o_c_k_f_a_m_i_l_y"><td class="mdescLeft">&#160;</td><td class="mdescRight">协议族枚举值 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespace_s_d_f_l_a_g_s"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_d_f_l_a_g_s.html">SDFLAGS</a></td></tr>
<tr class="memdesc:namespace_s_d_f_l_a_g_s"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭流标志位 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespace_s_o_c_k_e_t_s_t_a_t_u_s"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html">SOCKETSTATUS</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a23eb5e058a210efdde3d64e69679fafa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#a23eb5e058a210efdde3d64e69679fafa">BIG_ENDIAN</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a23eb5e058a210efdde3d64e69679fafa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a688c99e67d121a4fb3216745e197c16e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#a688c99e67d121a4fb3216745e197c16e">LITTER_ENDIAN</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a688c99e67d121a4fb3216745e197c16e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ed84b992d72d4a2f25466ab4ae617c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#a4ed84b992d72d4a2f25466ab4ae617c8">SOCK_BAD</a>(_sockstatus)&#160;&#160;&#160;( ((_sockstatus) == <a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7">SOCKETSTATUS::ABORT</a>) || ((_sockstatus) == <a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae">SOCKETSTATUS::DISCONNECT</a>) || ((_sockstatus) == <a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">SOCKETSTATUS::UNINIT</a>) )</td></tr>
<tr class="separator:a4ed84b992d72d4a2f25466ab4ae617c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3222a7b518b85106d3890eae100958b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#a3222a7b518b85106d3890eae100958b8">SOCK_GOOD</a>(_sockstatus)&#160;&#160;&#160;( !<a class="el" href="_socket_def_8h.html#a4ed84b992d72d4a2f25466ab4ae617c8">SOCK_BAD</a>(_sockstatus) )</td></tr>
<tr class="separator:a3222a7b518b85106d3890eae100958b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06a11612afb43fedd0194d8b59cb02ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#a06a11612afb43fedd0194d8b59cb02ed">SD_BOTH</a>&#160;&#160;&#160;SHUT_RDWR</td></tr>
<tr class="separator:a06a11612afb43fedd0194d8b59cb02ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb37a73baa9ae99a29b2bc5e635b2990"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#adb37a73baa9ae99a29b2bc5e635b2990">SD_RECEIVE</a>&#160;&#160;&#160;SHUT_RD</td></tr>
<tr class="separator:adb37a73baa9ae99a29b2bc5e635b2990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8d2ae8532f7f1a85345500eacfd3b84"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_socket_def_8h.html#ab8d2ae8532f7f1a85345500eacfd3b84">SD_SEND</a>&#160;&#160;&#160;SHUT_WR</td></tr>
<tr class="separator:ab8d2ae8532f7f1a85345500eacfd3b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a6fcb9a12773185f3ca183ad967bb672e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a> { <a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b">SOCKPROTOCOL::IPC_OPEN</a>, 
<a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea43d9e1a8ae64989aa870537a77c1fa8e">SOCKPROTOCOL::IPC_CREATE</a>, 
<a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea259d0611981249ea03db09636970baa0">SOCKPROTOCOL::TCP</a> = IPPROTO_TCP, 
<a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea58ac0a98fdbaa936244fd01553e71dce">SOCKPROTOCOL::UDP</a> = IPPROTO_UDP
 }</td></tr>
<tr class="separator:a6fcb9a12773185f3ca183ad967bb672e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1b532206487defe92ed4eeae94b488c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a> { <a class="el" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d">SOCKTYPE::STREAM</a> = SOCK_STREAM, 
<a class="el" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca6c4816da2ab72fec5773dc4650d5aa78">SOCKTYPE::DGRAM</a> = SOCK_DGRAM
 }</td></tr>
<tr class="separator:ab1b532206487defe92ed4eeae94b488c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2752d06098f227dbd8340b30a718da81"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SOCKFAMILY::SockFamily</a> { <br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae4bb989ffed1b2c292589a021e012c8c">SOCKFAMILY::UNKNOWN</a> = 0, 
<a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604">SOCKFAMILY::IPC</a> = AF_UNIX, 
<a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a00bf55dcef9400794a5918a0fcd59b5d">SOCKFAMILY::IPV4</a> = AF_INET, 
<a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a62dc3951a8b29adacbbec0cfdb0a3b70">SOCKFAMILY::IPV6</a> = AF_INET6, 
<br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae646acb5a504e12ce7d8521ce368e250">SOCKFAMILY::STORE</a> = 99
<br />
 }</td></tr>
<tr class="separator:a2752d06098f227dbd8340b30a718da81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61532db7e32f7ef1369fb2e15a035330"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">SDFLAGS::SdFlags</a> { <a class="el" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a8a1d2d7f5a4794a97735886c8c5d829d">SDFLAGS::SDF_READ</a> = SD_RECEIVE, 
<a class="el" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a2c7e3a56d176e91b2a9a7a225ff7955b">SDFLAGS::SDF_WRITE</a> = SD_SEND, 
<a class="el" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330ad21a676cf401576e5b1791b1b347e7a2">SDFLAGS::SDF_BOTH</a> = SD_BOTH
 }</td></tr>
<tr class="memdesc:a61532db7e32f7ef1369fb2e15a035330"><td class="mdescLeft">&#160;</td><td class="mdescRight">断开发送或接收  <a href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">更多...</a><br /></td></tr>
<tr class="separator:a61532db7e32f7ef1369fb2e15a035330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a960fa087f22eb32da3c7d0c805be7876"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876">SOCKETSTATUS::SockStatus</a> { <br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">SOCKETSTATUS::UNINIT</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a53a0a7cf483501d229bf2da279e6c9d0">SOCKETSTATUS::CONNECTING</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a119db78cc4a987e673c0d3ebbfd2d623">SOCKETSTATUS::CONNECTED</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a416915ff18b78f2c6a8ddbd11ecee17b">SOCKETSTATUS::ACCEPTING</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a0000a02186d14b5d44fdc32c6079d613">SOCKETSTATUS::ACCEPTED</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a180e25a3d312e7fe3b180fd178ca845c">SOCKETSTATUS::ACCEPTABLE</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ad1783e136ad5754e2eab048cb820b4ff">SOCKETSTATUS::SENDING</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a52566ca153bf6bcb661b1e8e606d3b5b">SOCKETSTATUS::SENDED</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a4725d556eec60381e5f461825c6e7663">SOCKETSTATUS::SENDABLE</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae3686c6dc7174963cab19201ce9940ab">SOCKETSTATUS::SEND_CACHE_FULL</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a820b39ebbedd5bde9ec84464cb0ec61c">SOCKETSTATUS::RECVING</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a8e36da283b8c83b61bab630b9b858724">SOCKETSTATUS::RECVED</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a6f4cc1bf4de5471ed74427c8139eb099">SOCKETSTATUS::RECVABLE</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae">SOCKETSTATUS::DISCONNECT</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a27b6c69c3b815f5babac4a152f003d42">SOCKETSTATUS::CLOSE</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a21f4b3f4919004aed6322dd5435c430c">SOCKETSTATUS::TIMEOUT</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a98a45dbdd82b756e472aafbf06957ad0">SOCKETSTATUS::EXIT</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7">SOCKETSTATUS::ABORT</a>, 
<a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876acbc6a92d2f6de3cda399fb0de0ffdd98">SOCKETSTATUS::POST</a>
<br />
 }</td></tr>
<tr class="separator:a960fa087f22eb32da3c7d0c805be7876"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a23eb5e058a210efdde3d64e69679fafa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23eb5e058a210efdde3d64e69679fafa">&#9670;&nbsp;</a></span>BIG_ENDIAN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BIG_ENDIAN&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00008">8</a> 行定义.</p>

</div>
</div>
<a id="a688c99e67d121a4fb3216745e197c16e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a688c99e67d121a4fb3216745e197c16e">&#9670;&nbsp;</a></span>LITTER_ENDIAN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LITTER_ENDIAN&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00011">11</a> 行定义.</p>

</div>
</div>
<a id="a06a11612afb43fedd0194d8b59cb02ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06a11612afb43fedd0194d8b59cb02ed">&#9670;&nbsp;</a></span>SD_BOTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SD_BOTH&#160;&#160;&#160;SHUT_RDWR</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00017">17</a> 行定义.</p>

</div>
</div>
<a id="adb37a73baa9ae99a29b2bc5e635b2990"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb37a73baa9ae99a29b2bc5e635b2990">&#9670;&nbsp;</a></span>SD_RECEIVE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SD_RECEIVE&#160;&#160;&#160;SHUT_RD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00020">20</a> 行定义.</p>

</div>
</div>
<a id="ab8d2ae8532f7f1a85345500eacfd3b84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8d2ae8532f7f1a85345500eacfd3b84">&#9670;&nbsp;</a></span>SD_SEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SD_SEND&#160;&#160;&#160;SHUT_WR</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="a4ed84b992d72d4a2f25466ab4ae617c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ed84b992d72d4a2f25466ab4ae617c8">&#9670;&nbsp;</a></span>SOCK_BAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SOCK_BAD</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_sockstatus</td><td>)</td>
          <td>&#160;&#160;&#160;( ((_sockstatus) == <a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7">SOCKETSTATUS::ABORT</a>) || ((_sockstatus) == <a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae">SOCKETSTATUS::DISCONNECT</a>) || ((_sockstatus) == <a class="el" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">SOCKETSTATUS::UNINIT</a>) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00013">13</a> 行定义.</p>

</div>
</div>
<a id="a3222a7b518b85106d3890eae100958b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3222a7b518b85106d3890eae100958b8">&#9670;&nbsp;</a></span>SOCK_GOOD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SOCK_GOOD</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_sockstatus</td><td>)</td>
          <td>&#160;&#160;&#160;( !<a class="el" href="_socket_def_8h.html#a4ed84b992d72d4a2f25466ab4ae617c8">SOCK_BAD</a>(_sockstatus) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_def_8h_source.html">SocketDef.h</a> 第 <a class="el" href="_socket_def_8h_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
